export default {
    data() {
        return {
            // 分页数据
            totalData: -1,
            pager: {
                offset: 1,
                limit: 50
            }
        }
    },
    methods: {
        handleSizeChange(val) {
            console.log(`每页 ${val} 条`)
            this.pager.limit = val
            this._cardformInitData()
        },
        handleCurrentChange(val) {
            console.log(`当前页: ${val}`)
            this.pager.offset = val
            this._cardformInitData()
        }
    }
}
